package com.ruoyi.project.order.mapper;

import com.ruoyi.project.order.domain.OrderFankui;
import com.ruoyi.project.order.domain.WorkOrder;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.project.order.vo.OrderFanKuiVo;
import com.ruoyi.project.order.vo.OrderListVo;
import com.ruoyi.project.order.vo.SelectOrderVo;

import java.util.List;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author L
 * @since 2020-08-07
 */
public interface WorkOrderMapper extends BaseMapper<WorkOrder> {

    /**
     * 获取全部list,根据各种筛选条件
     * @return
     */
    List<OrderListVo> LGetList(SelectOrderVo SelectOrderVo);

    /**
     * 获取全部list,不带内容
     * @return
     */
    List<OrderListVo> LGetListNoContent(SelectOrderVo SelectOrderVo);
    List<OrderListVo> LGetListNoContentAndYuQi(SelectOrderVo SelectOrderVo);
    List<OrderListVo> LGetListJieDan(SelectOrderVo SelectOrderVo);

    List<OrderListVo> LGetUserOrderNum( );

    List<OrderFanKuiVo> LGetFanKui(Integer orderId);
}
